package projetstackoverflow

import java.util.Date;

class Vote {
	public static final int UP_VOTE = 1
	public static final int NO_VOTE = 0
	public static final int DOWN_VOTE = -1
	
	Message message
	Author author
	int value
	Date date
	
	static belongsTo = [Message]
	
    static constraints = {
    }
}
